﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Error.aspx.cs" Inherits="FPC.Offer.UI.Error" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="refresh" content="12;URL=~/MainAndLogin/Login.aspx" />

    <title>信息提示－专项课题信息管理系统</title>
    <script language="javascript" type="text/javascript">
        //function Refresh(t) {
        //    var tt = t - 1;
        //    if (tt > 0) {
        //        setTimeout("Refresh(" + tt + ")", 1000);
        //    } else {
        //        window.location.href = document.getElementById("hidpath").getAttribute("Value");
        //        return;
        //    }
        //}
        //var timer = setTimeout("Refresh(3)", 1000);

        var start = 12;
        function actionurl() {
            if (start == 1) {
                document.all.messagenum.innerText = '剩余' + start + '秒后将转到首页';
                window.location = 'Login.aspx';
            }
            else {
                start = start - 1;
                document.all.messagenum.innerText = '剩余' + start + '秒后将转到首页';
                setTimeout('actionurl()', 1000);
            }
        }
        setTimeout('actionurl()', 1000);
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:HiddenField ID="hidpath" runat="server" />
        <div id="nopage" style="float: none; margin: 0 auto; width: 476px; height: 90px; background: url(Images/errerror.gif) no-repeat; padding-top: 132px; margin-top: 200px;"
            runat="server">
            <div id="message" style="width: 200px; margin-left: 136px; color: #000000; text-align: center; line-height: 24px">
                <span id="messagenum"></span>
            </div>
            <asp:Label ID="labError" runat="server"></asp:Label><br />
        </div>
        <div id="noopen" style="float: none; width: 700px; height: 300px; border: 1px #000000 solid; margin: 200px auto;"
            runat="server" visible="false">
            <div style="width: 700px; height: 10px; background-color: #666666">
            </div>
            <div style="float: left; width: 200px; height: 250px; background: url(Images/youqingtushi.jpg) no-repeat; padding-top: 40px;">
            </div>
            <div style="float: right; width: 460px; text-align: center; padding-top: 60px">
                <ul style="float: left; line-height: 60px; text-align: left">
                    <li style="font: bold 32px '宋体'; list-style: none;">友情提示：</li>
                    <li style="font: bold 20px '宋体'; list-style: none;" runat="server" id="liError"></li>
                </ul>
            </div>

        </div>

    </form>

</body>
</html>
